-
-
Notifications
You must be signed in to change notification settings - Fork 217
Don't check units during initialization #3119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@AayushSabharwal can you incorporate this post your PR? |
@AayushSabharwal can you rebase this onto your larger change? |
Sure, sorry for missing this earlier. |
...because initialization problems don't correctly handle units and units have already been checked during system initialization.
bb46df0
to
f7bf33a
Compare
src/systems/problem_utils.jl
Outdated
@@ -396,7 +396,7 @@ Keyword arguments: | |||
- `eval_module`: If `eval_expression == true`, the module to `eval` into. Otherwise, the module | |||
in which to generate the `RuntimeGeneratedFunction`. | |||
- `fully_determined`: Override whether the initialization system is fully determined. | |||
- `check_units`: Enable or disable unit checks. | |||
- `check_units`: Enable or disable unit checks when constructing the initialization problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change the name to check_initialization_units
?
I have the format commit ready. Once tests pass, I'll push it and merge so we don't rerun CI unnecessarily. |
All tests pass, barring the homotopy continuation ones fixed in #3158 |
...because initialization problems don't correctly handle units and units have already been checked during system initialization.
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
Fixes #3086